<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>多选改卷</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
		<script type="text/javascript" src="__JS__/jshelper.js"></script> 
		<script type="text/javascript" src="__JS__/jQuery/jquery.js"></script>
       	<script type="text/javascript" src="__JS__/jQuery/jquery.form.js"></script>
	</head>
	<body>	
		<!-- layout::Auth:header::0 -->
    	<div class="container-fluid">
     		<div class="row-fluid">
  			  <!-- layout::Auth:leftmenu::0 -->
              	 <div class="span8">
                    <div class="hero-unit">
                  	<h1>改卷(多选)</h1>
                    <p style="font-size:12px">当前位置：
                        <a href='__APP__/index/index' class="nowpositionhref">主页</a>>
                        <a href='__URL__/index' class="nowpositionhref">后台管理</a>>
                        <a href='__URL__/choose1' class="nowpositionhref">测试管理</a>>
                        <a href='__URL__/testcorrect' class="nowpositionhref">选择课程</a>>
                        <a href='__URL__/test_correct/id/<?php echo ($courseid); ?>' class="nowpositionhref">选择试题</a>>
                        <a href='__URL__/correct_test/courseid/<?php echo ($courseid); ?>/id/<?php echo ($testid); ?>' class="nowpositionhref">选择学生</a>>
                        <a href="">改卷</a>
                      </p>
                    </div>
	
			<!--显示题目-->
            	<input class="input-xlarge disable"  type="text" id="disabledInput" disabled value="试卷编号:<?php echo ($testid); ?> 多选题">
                <!--<p class="pull-right">
                <a href="__URL__/correcttest3/courseid/<?php echo ($courseid); ?>/testid/<?php echo ($testid); ?>/no/<?php echo ($vo["no"]); ?>"  class="btn btn-success">填空改卷</a>	
                </p>-->
				<table width="100%"  class="table table-striped table-bordered table-condensed">
					<thead  >
						<tr >
							<th>题号</th>
							<th>标准答案</th>
							<th>答案</th>
						</tr>
					</thead>
					<load href"__PUBLIC__/js/list_show.js">
					<form id="form2" name="form2" method="post" action="__URL__/nchoice_score"> 
					<tbody id="tab">
						<?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): ++$i;$mod = ($i % 2 )?><tr id="table_saq_show">
								<input type='hidden' name='id' value=<?php echo ($vo["id"]); ?>>
								<input type='hidden' name='number' value=<?php echo ($vo["number"]); ?>>
								<input type='hidden' name='testid' value=<?php echo ($vo["testid"]); ?>>
								<input type='hidden' name='courseid' value=<?php echo ($courseid); ?>>
								<input type='hidden' name='no' value=<?php echo ($vo["no"]); ?>>
								<td >第<?php echo ($vo["number"]); ?>题:</td>
								<td >答案:<?php echo ($vo["answer1"]); ?></td>
								<td >答案:<?php echo ($vo["answer"]); ?></td>
								<?php if($vo["answer1"] == $vo.answer): ?><input type='hidden' name='score[]' value=<?php echo ($vo["score1"]); ?>>
								<?php else: ?>
									<input type='hidden' name='score[]' value=0><?php endif; ?>
								</tr><?php endforeach; endif; else: echo "" ;endif; ?>
                        		<tr>
                                	<td colspan="3">
                                    	<input name="submit" type="submit" value="填空改卷" style="width:80px;" class="btn btn-success">
                                    </td>
                                </tr>
					</tbody>
                    </form>
					</table>
						
			
			
				<!--  div align="right" class="green-black" style="width:900px; position:relative; top:20px; left:-35px;">
					<?php echo ($page); ?>
				</div>-->
             </div>
		</div>
		</div>
	</body>
</html></body>
</html>